package com.xuecheng.ucenter.model.dto;

import lombok.Data;

import javax.validation.constraints.NotEmpty;

@Data
public class RegisterDto extends FindPasswordDto{

    @NotEmpty(message = "昵称不能为空")
    private String nickname;//账户昵称
    @NotEmpty(message = "账户不能为空")
    private String username;//账号

}
